package com.ymj.netty.common;

/**
 *  @Description: netty响应类
 *  @author: yanmj
 *  @Date: 2020-06-07
 */
public class Response {

    /*唯一id*/
    private Long id;
    /*data*/
    private Object content;
    /*响应码*/
    private String code;
    /*错误信息*/
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
